module FriendshipsHelper
  def is_friend member
    (current_accounts.member.friends.include?member)&&(member[:accounts_id] == session[:accounts_id])
  end
end
